package com.rc.saas.mini.service.member;

import com.github.pagehelper.PageInfo;
import com.rc.saas.mini.common.base.BaseService;
import com.rc.saas.mini.mapper.member.MemberAccountRecordMapper;
import com.rc.saas.mini.model.member.MemberAccountRecord;
import com.rc.saas.mini.model.member.MemberAccountRecordExample;

import java.util.Date;
import java.util.List;

/**
 * @author wangzhengwei
 * @create 2021/4/26
 */
public interface MemberAccountRecordService extends BaseService<Long, MemberAccountRecord, MemberAccountRecordExample, MemberAccountRecordMapper> {
    PageInfo<String> listPageMemberAccountDateRecord(Long memberId, Integer pageSize, Integer pageNo);

    List<MemberAccountRecord> listMemberAccountRecord(Long memberId, String months);

    List<MemberAccountRecord> listByTypeAndMonth(Long memberId, String accountType, String yearMonth,String recordType);

    List<MemberAccountRecord> listMemberAccountRecord(Long memberId);

    List<MemberAccountRecord> listByYesterday(Long memberId);

    List<MemberAccountRecord> listByGetMonth(Long memberId);

    List<MemberAccountRecord> listPayByTime(Long memberId, Date beginTime, Date endTime);
}
